import { iamRequest } from '@/utils/request';

export async function getUserInfo() {
  return await iamRequest(`/users/current`);
}

export async function getEndpoints() {
  return await iamRequest('/authz/endpoints');
}

